Joey Hess [Thu, 2 Oct 2025 17:43:43 +0000 (13:43 -0400)]
comment
Joey Hess [Thu, 2 Oct 2025 17:28:40 +0000 (13:28 -0400)]
make git-annex_$version tags in the downloads repo
Note the use of git tag -f, this way if it takes several tries to get a
release published, it will use the final one for the tag.
Tags have been retrospectively added for past releases, using this:
for v in $(git log --oneline --grep="publishing git-annex "| sed 's/ publishing git-annex / /'); do foo=$(echo "$v" | sed 's/ .*//'); bar=$(echo "$v" | sed 's/.* //'); git tag git-annex_"$bar" "$foo" ; done
caleb@2b0d6f0eabf955cc8fd04c634b09f0ca4aad9233 [Wed, 1 Oct 2025 22:15:15 +0000 (22:15 +0000)]
Added a comment
yarikoptic [Wed, 1 Oct 2025 20:18:44 +0000 (20:18 +0000)]
Added a comment
yarikoptic [Wed, 1 Oct 2025 17:07:25 +0000 (17:07 +0000)]
complaining about choice of variable
Joey Hess [Wed, 1 Oct 2025 16:03:54 +0000 (12:03 -0400)]
comment
Joey Hess [Wed, 1 Oct 2025 15:34:19 +0000 (11:34 -0400)]
followup
yarikoptic [Wed, 1 Oct 2025 13:09:01 +0000 (13:09 +0000)]
Added a comment
Joey Hess [Tue, 30 Sep 2025 14:58:01 +0000 (10:58 -0400)]
comments
Joey Hess [Tue, 30 Sep 2025 14:19:10 +0000 (10:19 -0400)]
add Servant to build flags again
While the build flag is removed, datalad tests are relying on it being
present and there is no harm.
ewen [Mon, 29 Sep 2025 21:54:14 +0000 (21:54 +0000)]
Added a comment: Fixed in
20050929
Joey Hess [Mon, 29 Sep 2025 19:53:38 +0000 (15:53 -0400)]
Revert "webapp: Remove support for local pairing"
This reverts commit
8ea6d7acc548cb35b4905c9c663e8a7de66ac752.
Temporarily, until builds finish for today's release.
Joey Hess [Mon, 29 Sep 2025 16:42:48 +0000 (12:42 -0400)]
webapp: Remove support for local pairing
As a feature only supported by the webapp, and not by git-annex at the
command line, this is by now a very obscure corner of git-annex, and not
one I want to keep maintaining.
It's worth removing it to avoid the security expsure alone. People using
the assistant w/o the webapp probably don't expect it to be listening on
a UDP port for a handrolled protocol, but it was.
The webapp has supported pairing via magic-wormhole since 2016, which
makes a link including between local computers, albeit with the overhead
of tor. That sort of covers the same use case. Of course advanced users
can easily enough add a ssh remote to their repository themselves, using
a hostname on the local network.
Sponsored-by: unqueued
Joey Hess [Mon, 29 Sep 2025 16:40:10 +0000 (12:40 -0400)]
remove old assistant release notes
Joey Hess [Mon, 29 Sep 2025 15:30:48 +0000 (11:30 -0400)]
add news item for git-annex 10.
20250929
Joey Hess [Mon, 29 Sep 2025 15:30:29 +0000 (11:30 -0400)]
releasing package git-annex version 10.
20250929
Joey Hess [Mon, 29 Sep 2025 15:27:52 +0000 (11:27 -0400)]
Fix build with ghc 9.0.2.
Joey Hess [Mon, 29 Sep 2025 15:18:56 +0000 (11:18 -0400)]
response
Joey Hess [Mon, 29 Sep 2025 15:13:26 +0000 (11:13 -0400)]
comment
Joey Hess [Mon, 29 Sep 2025 15:11:20 +0000 (11:11 -0400)]
add libghc-unbounded-delays-dev to debian/control deps
Joey Hess [Mon, 29 Sep 2025 15:06:18 +0000 (11:06 -0400)]
don't set locale encoding when opening binary file
importfeed: Fix encoding issues parsing feeds when built with OsPath.
Joey Hess [Mon, 29 Sep 2025 14:46:51 +0000 (10:46 -0400)]
comment typo
Joey Hess [Mon, 29 Sep 2025 14:40:19 +0000 (10:40 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Mon, 29 Sep 2025 14:40:10 +0000 (10:40 -0400)]
enableremote: Allow type= to be provided when it does not change the type of the special remote
Fixes breakage in datalad test suite
https://github.com/datalad/datalad/issues/7747
Also, revert the change I earlier made to git-annex's own test suite due to
the same problem.
ewen [Sun, 28 Sep 2025 22:49:31 +0000 (22:49 +0000)]
Added a comment: Cross link to importfeed parsing
ewen [Sun, 28 Sep 2025 22:42:32 +0000 (22:42 +0000)]
Added a comment: Feed seems to now be parsed as UTF-8 characters, not binary mode
ewen [Sun, 28 Sep 2025 22:24:23 +0000 (22:24 +0000)]
Added a comment: importfeed: utf-8 XML is (now?) parsed into 8-bit characters
ewen [Sun, 28 Sep 2025 22:05:57 +0000 (22:05 +0000)]
Added a comment: Example still working feed
ewen [Sun, 28 Sep 2025 21:58:18 +0000 (21:58 +0000)]
Added a comment: Debug output
ewen [Sun, 28 Sep 2025 21:35:08 +0000 (21:35 +0000)]
Added a comment: Previous working build was
20250828
ewen [Sun, 28 Sep 2025 21:32:35 +0000 (21:32 +0000)]
importfeed: Enum.toEnum{Word8}: tag (8217) is outside of bounds (0,255)
xentac [Sat, 27 Sep 2025 23:26:41 +0000 (23:26 +0000)]
yarikoptic [Sat, 27 Sep 2025 17:27:51 +0000 (17:27 +0000)]
Added a comment
yarikoptic [Sat, 27 Sep 2025 12:19:14 +0000 (12:19 +0000)]
missing build dep for debian?
jnkl [Sat, 27 Sep 2025 12:08:57 +0000 (12:08 +0000)]
caleb@2b0d6f0eabf955cc8fd04c634b09f0ca4aad9233 [Thu, 25 Sep 2025 23:04:55 +0000 (23:04 +0000)]
Joey Hess [Thu, 25 Sep 2025 17:40:06 +0000 (13:40 -0400)]
Remove the Servant build flag
Always build with support for annex+http urls and git-annex p2phttp.
Joey Hess [Thu, 25 Sep 2025 17:27:43 +0000 (13:27 -0400)]
remove unnecessary import
Joey Hess [Thu, 25 Sep 2025 17:22:02 +0000 (13:22 -0400)]
add news item for git-annex 10.
20250925
Joey Hess [Thu, 25 Sep 2025 17:21:55 +0000 (13:21 -0400)]
releasing package git-annex version 10.
20250925
nadir [Wed, 24 Sep 2025 21:52:32 +0000 (21:52 +0000)]
Added a comment
Joey Hess [Wed, 24 Sep 2025 17:04:51 +0000 (13:04 -0400)]
update
Joey Hess [Wed, 24 Sep 2025 16:54:20 +0000 (12:54 -0400)]
comments
Joey Hess [Wed, 24 Sep 2025 16:21:32 +0000 (12:21 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Wed, 24 Sep 2025 16:06:45 +0000 (12:06 -0400)]
preparing for a release
Joey Hess [Wed, 24 Sep 2025 16:05:45 +0000 (12:05 -0400)]
reorder
Joey Hess [Wed, 24 Sep 2025 16:03:18 +0000 (12:03 -0400)]
fixed
Arnie97 [Wed, 24 Sep 2025 12:05:05 +0000 (12:05 +0000)]
Added a comment: the X prefix conflicts with the eXternal backend namespace
jnkl [Tue, 23 Sep 2025 18:50:19 +0000 (18:50 +0000)]
Joey Hess [Tue, 23 Sep 2025 17:57:09 +0000 (13:57 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 23 Sep 2025 17:55:13 +0000 (13:55 -0400)]
clean up imports needed by old versions of ghc
Now that ghc 9.0.2 is the oldest supported version.
Eg cruft from
https://web.archive.org/web/
20190424185034/https://prime.haskell.org/wiki/Libraries/Proposals/SemigroupMonoid
Sponsored-by: Jack Hill
jnkl [Tue, 23 Sep 2025 17:48:41 +0000 (17:48 +0000)]
Joey Hess [Tue, 23 Sep 2025 17:11:32 +0000 (13:11 -0400)]
avoid unused import on Windows
Joey Hess [Tue, 23 Sep 2025 17:11:04 +0000 (13:11 -0400)]
fix build warnings
Joey Hess [Tue, 23 Sep 2025 17:02:24 +0000 (13:02 -0400)]
fix windows build
Joey Hess [Tue, 23 Sep 2025 16:54:33 +0000 (12:54 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 23 Sep 2025 16:52:55 +0000 (12:52 -0400)]
invalidate recorded content identifier tree when export changes
Fix bug that made changes to a special remote sometimes be missed when
importing a tree from it. The diff import would miss when a change was
exported, then manually undone on the special remote (eg deleting a newly
exported file). A full import is needed to catch such changes.
After upgrading, any such missed changes will be included in the next
tree imported from a special remote. This happens because the previously
recorded content identifier tree does not have export information included,
so it is treated as invalid, and a full import is done.
Fixes reversion introduced in version 10.
20230626, commit
40017089f268391f79226592850b58855cdbf808
Unfortunately, this does mean that after each export, the next import will
be a full import. Which can take significantly longer than the diff import
does, when there are a lot of files in the tree.
It would be better if exporting also update the content identifier tree.
However, I don't know if that can be done inexpensively. It would be future
optimisation work, in any case.
(That could only be done for an export that is run in the same
repository as the import. When an export is run in a different repository,
the export.log gets updated, and that propagates to the repository where
import is later run. At that point, a full import is done.)
Sponsored-by: Luke T. Shumaker
Joey Hess [Tue, 23 Sep 2025 15:34:16 +0000 (11:34 -0400)]
remove accidentially added debug prints
yarikoptic [Tue, 23 Sep 2025 14:26:07 +0000 (14:26 +0000)]
yarikoptic [Tue, 23 Sep 2025 14:24:30 +0000 (14:24 +0000)]
Windows still FTBFS
Joey Hess [Tue, 23 Sep 2025 03:55:22 +0000 (23:55 -0400)]
thought
Joey Hess [Tue, 23 Sep 2025 03:48:46 +0000 (23:48 -0400)]
worse
Joey Hess [Mon, 22 Sep 2025 23:30:02 +0000 (19:30 -0400)]
promote forum post to bug, analysis
Joey Hess [Mon, 22 Sep 2025 19:00:26 +0000 (15:00 -0400)]
fix test suite
dfbf76e2ca50d31eca6dee253c5bf3c892301463 broke it.
enableremote with the same type= as initremote had before might be worth
allowing, but I'll wait and see if someone else complains
Joey Hess [Mon, 22 Sep 2025 18:56:50 +0000 (14:56 -0400)]
prevent deadlock when reconcileStaged runs restagePointerFiles
Fix hang that could occur when using git-annex adjust on a branch with a
number of files greater than annex.queuesize. Or potentially other
commands.
When reconcileStaged is running, the database is being opened. But
restagePointerFiles closes the database, and later writes to it. So it will
deadlock if called by reconcileStaged.
The deadlock occurred when the git queue happened to be full, causing
adding a call to restagePointerFiles to it to flush the queue and
restagePointerFiles to run at the wrong time.
Fixed by making reconcileStaged, when it populates or depopulates a pointer
file, arrange for restagePointerFiles to be run as a cleanup action, rather
than from the git queue.
But, what if restagePointerFiles is already in the git queue before
reconcileStaged is run? If it adds anything else to the git queue, causing
the queue to flush, it would still deadlock. To avoid this hypothetical
situation, added a Annex.inreconcilestaged, and made restagePointerFiles
check it and not do anything.
Note that, I did consider the simpler approach of only running
restagePointerFiles as a cleanup action, rather than from the git queue.
But see commit
6a3bd283b8af53f810982e002e435c0d7c040c59 for why it was made
to use the queue in the first place. I wanted to avoid tying this bug fix
to a behavior change.
Sponsored-by: mycroft
Joey Hess [Mon, 22 Sep 2025 16:07:16 +0000 (12:07 -0400)]
update
Joey Hess [Mon, 22 Sep 2025 15:19:13 +0000 (11:19 -0400)]
comment
Joey Hess [Mon, 22 Sep 2025 15:15:32 +0000 (11:15 -0400)]
comment
Joey Hess [Mon, 22 Sep 2025 15:10:32 +0000 (11:10 -0400)]
comment
Joey Hess [Mon, 22 Sep 2025 15:02:24 +0000 (11:02 -0400)]
comment
Joey Hess [Mon, 22 Sep 2025 14:54:16 +0000 (10:54 -0400)]
enableremote: Disallow using type= to attempt to change the type of an existing remote
Changing the type out from under an existing special remote exposes the
existing config to something that may interpret it wildly differently. As
seen in the bug report, this can even result in behavior that makes
git-annex say it's buggy. So prevent the user from doing this. --sameas is
the better way.
Sponsored-by: Kevin Mueller
Joey Hess [Mon, 22 Sep 2025 14:27:16 +0000 (10:27 -0400)]
comment
Joey Hess [Mon, 22 Sep 2025 14:20:36 +0000 (10:20 -0400)]
Add git-remote-p2p-annex and git-remote-tor-annex to standalone builds
matrss [Sat, 20 Sep 2025 17:54:22 +0000 (17:54 +0000)]
Joey Hess [Thu, 18 Sep 2025 15:59:22 +0000 (11:59 -0400)]
fix windows build
Joey Hess [Thu, 18 Sep 2025 15:54:51 +0000 (11:54 -0400)]
response
Joey Hess [Thu, 18 Sep 2025 15:07:20 +0000 (11:07 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
yarikoptic [Tue, 16 Sep 2025 20:48:22 +0000 (20:48 +0000)]
FTBFS on Windows
Joey Hess [Tue, 16 Sep 2025 20:38:54 +0000 (16:38 -0400)]
typo
yarikoptic [Tue, 16 Sep 2025 19:34:27 +0000 (19:34 +0000)]
Added a comment
yarikoptic [Tue, 16 Sep 2025 19:33:40 +0000 (19:33 +0000)]
Added a comment
Joey Hess [Tue, 16 Sep 2025 18:58:26 +0000 (14:58 -0400)]
annex.assistant.allowunlocked
Sponsored-by: the NIH-funded NICEMAN (ReproNim TR&D3) project
Joey Hess [Tue, 16 Sep 2025 18:32:04 +0000 (14:32 -0400)]
fix bug in recent commit
Joey Hess [Tue, 16 Sep 2025 17:45:36 +0000 (13:45 -0400)]
tag repronim based on https://git-annex.branchable.com/forum/Is_there_a_way_to_have_assistant_add_files_locked__63__/#comment-
096bedb2d22d5aae6a51a53179372d4f
Joey Hess [Tue, 16 Sep 2025 17:34:54 +0000 (13:34 -0400)]
improve example
Joey Hess [Tue, 16 Sep 2025 17:27:25 +0000 (13:27 -0400)]
close
Joey Hess [Tue, 16 Sep 2025 17:27:01 +0000 (13:27 -0400)]
use giveup not error
This is not debugging a git-annex bug, so no stack trace needed.
Joey Hess [Tue, 16 Sep 2025 17:22:14 +0000 (13:22 -0400)]
improve error message when SETCREDS overwrites git-annex config
That is not allowed, so it's not a bug in git-annex when it happens and
instead tell the special remote developer how it's messed up.
Note that currently only Remote.External can overwrite the parsed remote
config with a PassedThrough value. PassedThrough values are otherwise
only generated for configs that are not parsed by the remote config
parser.
Sponsored-by: Joshua Antonishen
Joey Hess [Tue, 16 Sep 2025 16:47:21 +0000 (12:47 -0400)]
fixed
Joey Hess [Tue, 16 Sep 2025 15:00:30 +0000 (11:00 -0400)]
close
Joey Hess [Tue, 16 Sep 2025 14:44:04 +0000 (10:44 -0400)]
comment
Joey Hess [Tue, 16 Sep 2025 14:36:19 +0000 (10:36 -0400)]
Merge branch 'master' of ssh://git-annex.branchable.com
Joey Hess [Tue, 16 Sep 2025 01:33:10 +0000 (21:33 -0400)]
set locale encoding after fdTohandle
fdToHandle does not set the usual system locale encoding,
so when the Handle is used for any String IO, it needs to be done
manually for correctness.
I don't know if this fixes any bugs. It might eg, fix a bug with
multicast receive of a file.
Sponsored-by: Leon Schuermann
yarikoptic [Tue, 16 Sep 2025 00:40:22 +0000 (00:40 +0000)]
Added a comment
Joey Hess [Mon, 15 Sep 2025 23:58:54 +0000 (19:58 -0400)]
boot libs
Joey Hess [Mon, 15 Sep 2025 23:25:03 +0000 (19:25 -0400)]
work around file-io not setting locale encoding when opening a Handle
Works around this bug https://github.com/haskell/file-io/issues/45
The fix is in Utility.FileIO.CloseOnExec because all use of file-io is
already wrapped through that module. Although perhaps that ought to be
refactored at this point.
I'd hope that file-io will eventually fix this bug, and also provide
CloseOnExec variants of its functions. That would allow depending on the
fixed version, and removing this ugly code.
Note that, functions like readFile that don't care about the encoding
due to reading/writing a ByteString were kept optimally fast by not
setting the encoding. This avoids an IORef read and write per open.
Sponsored-by: Graham Spencer
Joey Hess [Mon, 15 Sep 2025 22:50:42 +0000 (18:50 -0400)]
bug
Joey Hess [Mon, 15 Sep 2025 20:37:53 +0000 (16:37 -0400)]
require_OsPath branch
Joey Hess [Mon, 15 Sep 2025 20:13:25 +0000 (16:13 -0400)]
comment
Joey Hess [Mon, 15 Sep 2025 18:27:45 +0000 (14:27 -0400)]
update